package cn.bgs.pojo;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import cn.bgs.config.LocalDateTimeConfig;
import cn.bgs.vo.Livingexpenses;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 缴费类型表(账单表)
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PaymentType对象", description="缴费类型表(账单表)")
public class PaymentType implements Serializable {

    private LocalDateTimeConfig localDateTimeConfig;

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "缴费类型表自增id")
    private Integer paymentTypeId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "类型（电费、水费等）")
    private String type;

    @ApiModelProperty(value = "金额")
    private Double money;

    @ApiModelProperty(value = " 收款方（公司）")
    private String payee;

    @ApiModelProperty(value = "账单名称")
    private String billName;

    @ApiModelProperty(value = "账单编号")
    private String billNumber;

    @ApiModelProperty(value = "收费周期")
    private String chargeCycle;

    @ApiModelProperty(value = "缴纳状态（待缴纳、已缴纳）")
    private String paymentState;

    @ApiModelProperty(value = "支付状态")
    private String payState;

    @ApiModelProperty(value = "支付方式")
    private String payWay;

    @DateTimeFormat(pattern = "yyyy-MM-dd ")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "支付时间")
    private LocalDateTime payTime;

    @ApiModelProperty(value = "支付单号")
    private String payNumber;

    @DateTimeFormat(pattern = "yyyy-MM-dd ")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd ")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除标志（y是删除 n是未删除）")
    private String deleteFlag;






}
